package gameMechanics;


public class Player {
	private int seat;
	private PocketCards playerHand;
	private int bankRoll;
	private boolean hasTurn;
	
	public Player(int seat, int bankRoll){
		this.seat = seat;
		this.bankRoll = bankRoll;
		this.hasTurn = false;
		this.playerHand = new PocketCards();
	}
	public void setPlayerSeat(int seatInteger){
		this.seat = seatInteger;
	}
	public int getPlayerSeat(){
		return seat;
	}
	public PocketCards getPlayerPocketCards(){
		return playerHand;
	}
	public void DealCardToPlayerHand(String s){
		playerHand.dealPocketCard(s);
	}
	public void setBankRoll(int amount){
		this.bankRoll = amount;
	}
	public int getBankRoll(){
		return bankRoll;
	}
	public void HasTurn(){
		if (hasTurn == false){
			this.hasTurn = true;
		}else{
			this.hasTurn = false;
		}
	}
	public boolean getHasTurn(){
		return hasTurn;
	}
}
